<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1 th:text="${msg}">haha</h1>
    <h2>
        <a href="baidu.com" th:href="${link}">baidu1</a>
        <a href="baidu.com" th:href="@{/link}">baidu2</a>
    </h2>

</body>
</html>